package com.homeWork;

public class Test1 {
    public static void main(String[] args) {
        JavaTeacher daniu=new JavaTeacher("大牛","男",35,15,"北大青鸟");
        daniu.showInfo();
        daniu.teach();
        NetTeacher wang=new NetTeacher("王老师","男",39,16,"北大青鸟");
        wang.ShowInfo();
        wang.teach();
    }
}
